package com.xiaohudie.JVM;

import java.util.concurrent.TimeUnit;

/**
 * @Author xiao hu die
 * @Date 2022/3/20 17:35
 * @Version 1.0
 */
public class Deep {
 public static void main(String[] args) throws InterruptedException {
  System.out.println("1");
  TimeUnit.SECONDS.sleep(30);
  byte[] bytes =new byte[1024 * 1024 * 10];
  System.out.println("2");
  TimeUnit.SECONDS.sleep(20);
  bytes =null;
  System.gc();
  System.out.println("3");

 }
}
